/* === GLOBAL STYLES === */
:root {
    --primary: #1a3a6b;
    --primary-light: #2a4f8a;
    --primary-dark: #0d2444;
    --secondary: #e6b85e;
    --secondary-light: #f0d08c;
    --secondary-dark: #d9a037;
    --accent: #8c6d46;
    --light: #f8f5f0;
    --dark: #1a1a1a;
    --text: #333333;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--light);
}

.contact-page {
    padding-top: 0;
}

/* === NAVBAR STYLES === */
.navbar {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.5s ease;
    background-color: #0d2444 !important;
}

/* Navbar when scrolled */
.navbar.scrolled {
    background-color: rgba(26, 58, 107, 0.95) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

/* Logo styles */
.navbar .logo {
    height: 40px;
    transition: all 0.5s ease;
}

.navbar.scrolled .logo {
    height: 35px;
}

/* Nav links - initial state (transparent navbar) */
.navbar-nav .nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 8px 15px;
    margin: 0 5px;
    position: relative;
}

/* Nav links - scrolled state */
.navbar.scrolled .nav-link {
    color: var(--white);
}

/* Nav link hover/active underline */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Nav link hover/active color */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary);
}

.search-box {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 5px 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar.scrolled .search-box {
    background-color: rgba(255, 255, 255, 0.2);
}

.search-box input {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 8px;
    width: 0;
    transition: width 0.3s ease;
    opacity: 0;
}

.search-box.active input {
    width: 200px;
    opacity: 1;
}

.search-box button {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
}

/* === CONTACT HERO === */
.contact-hero {
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('../resources/images/austbg2.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    margin-top: -80px;
    padding-top: 80px;
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.contact-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* === CONTACT SECTION === */
.contact-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-badge {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

/* Contact Info Card */
.contact-info-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}

.card-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 20px;
    position: relative;
}

.card-header .tag {
    background-color: var(--secondary);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.card-body {
    padding: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.info-content p {
    margin-bottom: 0;
    color: var(--text);
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}

.contact-form .form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(26, 58, 107, 0.25);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

/* === FOOTER === */
.main-footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary);
    color: var(--dark);
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.95rem;
}

.newsletter-form button {
    background-color: var(--secondary);
    color: var(--dark);
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}


.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-menu a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary);
    width: 20px;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.95rem;
}

.newsletter-form button {
    background-color: var(--secondary);
    color: var(--dark);
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--white);
}
.main-footer h5{
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 50px;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    color: #fff;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--secondary);
}

/* === RESPONSIVE STYLES === */
@media (max-width: 992px) {
    .contact-hero h1 {
        font-size: 2.8rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        margin-top: 15px;
    }
    
    .search-box {
        margin-top: 15px;
    }
    
    .contact-hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .contact-hero h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand .logo {
        height: 30px;
    }
    
    .contact-hero h1 {
        font-size: 1.8rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}